package com.yqya.jsonxml.vo;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 公司视图类
 *
 * @author Kevin
 * @date 2019-07-14
 */
@XmlRootElement
public class CompanyVO {

    /**
     * 编号
     */
    private String code;

    /**
     * 名称
     */
    private String name;

    /**
     * 城市
     */
    private String city;

    public CompanyVO() {
    }

    public CompanyVO(String code, String name, String city) {
        this.code = code;
        this.name = name;
        this.city = city;
    }

    @XmlElement
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @XmlElement
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @XmlElement
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
}
